package org.mics.sms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.mics.jpa.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 短信
 * @author mics
 * @date 2020年5月19日
 * @version  1.0
 */
@Data
@Entity
@Table(name="t_sms_record")
@EqualsAndHashCode(callSuper = false)
public class SmsRecordDO extends BaseEntity{
	
	/**
	 * 电话
	 */
	@Column(name="mobile",columnDefinition = "varchar(11) comment '手机号'",nullable=false)
	private String mobile;
	
	/**
	 * 短信模板编码
	 */
	@Column(name="templete_code",columnDefinition = "varchar(32) comment ' 短信模板编码'",nullable=false)
	private String templeteCode;
	
    /**
     * 接收消息
     */
    @Column(name = "message", columnDefinition = "varchar(500) comment '接收消息'")
    private String message;

	
}
